package com.yupi.springbootinit.model.enums;

public enum ScoreChangeEnum {

    VERIFY_INTEGRAL("校验用户已有积分", 0),
    DAILY_LOGIN_ADD("每日登录奖励", 10),
    UP_POINTS("积分上限", 100),
    CHAT_DEDUCT("在线提问扣除", 2),
    GEN_CHART_DEDUCT("生成图表扣除", 2);

    private final String text;

    private final Integer value;

    ScoreChangeEnum(String text, Integer value) {
        this.text = text;
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
